import request from '@/utils/request'

  export function getTags(params) {
    return request({
      url: '/api/readertags/list',
      method: 'get',
      params: params
    })
  }
  export function getChildTags(params) {
    return request({
      url: '/api/readertags/child',
      method: 'get',
      params: params
    })
  }

  export function updateTag(data) {
    return request({
      url: '/api/readertags/update',
      method: 'post',
      data: data
    })
  }
  
  export function insertTag(data) {
    return request({
      url: '/api/readertags/insert',
      method: 'post',
      data: data
    })
  }
  
  export function 　delTag(data) {
    return request({
      url: '/api/readertags/delete',
      method: 'post',
      data: data
    })
  }
  